module.exports.xmlStr = `<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" targetNamespace="http://bpmn.io/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="5.1.2">
<process id="Process_1" isExecutable="false">
    <startEvent id="StartEvent_1y45yut" name="开始">
    <outgoing>SequenceFlow_0h21x7r</outgoing>
    </startEvent>
    <task id="Task_1hcentk">
    <incoming>SequenceFlow_0h21x7r</incoming>
    </task>
    <sequenceFlow id="SequenceFlow_0h21x7r" sourceRef="StartEvent_1y45yut" targetRef="Task_1hcentk" />
</process>
<bpmndi:BPMNDiagram id="BpmnDiagram_1">
    <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_1">
    <bpmndi:BPMNShape id="StartEvent_1y45yut_di" bpmnElement="StartEvent_1y45yut">
        <omgdc:Bounds x="152" y="102" width="36" height="36" />
        <bpmndi:BPMNLabel>
        <omgdc:Bounds x="160" y="145" width="22" height="14" />
        </bpmndi:BPMNLabel>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="Task_1hcentk_di" bpmnElement="Task_1hcentk">
        <omgdc:Bounds x="240" y="80" width="100" height="80" />
    </bpmndi:BPMNShape>
    <bpmndi:BPMNEdge id="SequenceFlow_0h21x7r_di" bpmnElement="SequenceFlow_0h21x7r">
        <omgdi:waypoint x="188" y="120" />
        <omgdi:waypoint x="240" y="120" />
    </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>`

module.exports.newBpmn = `<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_07nqcvs" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.21.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.20.0">
  <bpmn:process id="Process_0jf0jp2" name="告警推送、解决" isExecutable="true" camunda:versionTag="1.0.0">
    <bpmn:startEvent id="StartEvent_1">
      <bpmn:outgoing>Flow_0mzm95d</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:sequenceFlow id="Flow_0mzm95d" sourceRef="StartEvent_1" targetRef="Activity_1ttwmm3" />
    <bpmn:serviceTask id="Activity_0g4i9a5" name="修理人员上门维修" camunda:delegateExpression="\${doRepair}">
      <bpmn:incoming>Flow_0kbx2kl</bpmn:incoming>
      <bpmn:outgoing>Flow_1s87308</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:sequenceFlow id="Flow_1s87308" sourceRef="Activity_0g4i9a5" targetRef="Activity_0dkrshf" />
    <bpmn:serviceTask id="Activity_0dkrshf" name="评价打分/是否解决" camunda:expression="#{telCall.doCall(execution)}" camunda:resultVariable="score">
      <bpmn:incoming>Flow_1s87308</bpmn:incoming>
      <bpmn:outgoing>Flow_1wf4r10</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:sequenceFlow id="Flow_1wf4r10" sourceRef="Activity_0dkrshf" targetRef="Activity_0fgq7qu" />
    <bpmn:endEvent id="Event_1p4xvph">
      <bpmn:incoming>Flow_16fi0rx</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="Flow_16fi0rx" sourceRef="Activity_0fgq7qu" targetRef="Event_1p4xvph" />
    <bpmn:sequenceFlow id="Flow_1g3a4ng" sourceRef="Activity_1ttwmm3" targetRef="Activity_1n2qwiw" />
    <bpmn:sequenceFlow id="Flow_0kbx2kl" sourceRef="Activity_1n2qwiw" targetRef="Activity_0g4i9a5" />
    <bpmn:serviceTask id="Activity_1n2qwiw" name="自动审批">
      <bpmn:extensionElements>
        <camunda:executionListener class="" event="start" />
        <camunda:connector />
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_1g3a4ng</bpmn:incoming>
      <bpmn:outgoing>Flow_0kbx2kl</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:userTask id="Activity_1ttwmm3" name="告警单推送">
      <bpmn:incoming>Flow_0mzm95d</bpmn:incoming>
      <bpmn:outgoing>Flow_1g3a4ng</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:serviceTask id="Activity_0fgq7qu" name="查看评分" camunda:type="external" camunda:topic="">
      <bpmn:incoming>Flow_1wf4r10</bpmn:incoming>
      <bpmn:outgoing>Flow_16fi0rx</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:textAnnotation id="TextAnnotation_0pe2kkr">
      <bpmn:text>添加后置监听器：发送邮件、工作留痕</bpmn:text>
    </bpmn:textAnnotation>
    <bpmn:association id="Association_11xrloy" associationDirection="None" sourceRef="Activity_1n2qwiw" targetRef="TextAnnotation_0pe2kkr" />
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_0jf0jp2">
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
        <dc:Bounds x="122" y="145" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0kwbnrv_di" bpmnElement="Activity_1ttwmm3">
        <dc:Bounds x="200" y="130" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_165sr9v_di" bpmnElement="Activity_1n2qwiw">
        <dc:Bounds x="350" y="123" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1u8baa8_di" bpmnElement="Activity_0g4i9a5">
        <dc:Bounds x="510" y="123" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0i2cph5_di" bpmnElement="Activity_0dkrshf">
        <dc:Bounds x="660" y="123" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1am4i82_di" bpmnElement="Activity_0fgq7qu">
        <dc:Bounds x="830" y="123" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1p4xvph_di" bpmnElement="Event_1p4xvph">
        <dc:Bounds x="1002" y="145" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Association_11xrloy_di" bpmnElement="Association_11xrloy">
        <di:waypoint x="411" y="123" />
        <di:waypoint x="419" y="95" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0mzm95d_di" bpmnElement="Flow_0mzm95d">
        <di:waypoint x="158" y="163" />
        <di:waypoint x="200" y="163" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1s87308_di" bpmnElement="Flow_1s87308">
        <di:waypoint x="610" y="163" />
        <di:waypoint x="660" y="163" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1wf4r10_di" bpmnElement="Flow_1wf4r10">
        <di:waypoint x="760" y="163" />
        <di:waypoint x="830" y="163" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_16fi0rx_di" bpmnElement="Flow_16fi0rx">
        <di:waypoint x="930" y="163" />
        <di:waypoint x="1002" y="163" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1g3a4ng_di" bpmnElement="Flow_1g3a4ng">
        <di:waypoint x="300" y="163" />
        <di:waypoint x="350" y="163" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0kbx2kl_di" bpmnElement="Flow_0kbx2kl">
        <di:waypoint x="450" y="163" />
        <di:waypoint x="510" y="163" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="TextAnnotation_0pe2kkr_di" bpmnElement="TextAnnotation_0pe2kkr">
        <dc:Bounds x="380" y="40" width="100" height="55" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
`